<header class="navbar navbar-inverse">
    <!-- Left Header Navigation -->
    <ul class="nav navbar-nav-custom">
        <!-- Main Sidebar Toggle Button -->
        <li>
            <a href="javascript:void(0)" onclick="App.sidebar('toggle-sidebar');this.blur();">
                <i class="fa fa-bars fa-fw"></i>
            </a>
        </li>
        <!-- END Main Sidebar Toggle Button -->

        <!-- Template Options -->
        <!-- Change Options functionality can be found in js/app.js - templateOptions() -->
        
        <!-- END Template Options -->
    </ul>
    <!-- END Left Header Navigation -->

    
    <!-- END Search Form -->

    <!-- Right Header Navigation -->
    <ul class="nav navbar-nav-custom pull-right">
       
        <!-- END Alternative Sidebar Toggle Button -->

        <!-- User Dropdown -->
        <li class="dropdown">
            <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
                                    <span id="username"></span> <i class="fa fa-angle-down"></i>
                                </a>
            <ul class="dropdown-menu dropdown-custom dropdown-menu-right">
               
                <li>
                    <a href="/data/user/user_profile">
                        <i class="fa fa-user fa-fw pull-right"></i>
                        Profile
                    </a>
                    <!-- Opens the user settings modal that can be found at the bottom of each page (page_footer.html in PHP version) -->
                    <a href="/data/user/user_pwd" data-toggle="modal">
                        <i class="fa fa-cog fa-fw pull-right"></i>
                        Update Password
                    </a>
                </li>
                <li class="divider"></li>
                <li>
                    <a href="/user/lock?v=1"><i class="fa fa-lock fa-fw pull-right"></i> Lock Account</a>
                    <a href="/service/user/logout"><i class="fa fa-ban fa-fw pull-right"></i> Logout</a>
                </li>
               
                
            </ul>
        </li>
        <!-- END User Dropdown -->
    </ul>
    <!-- END Right Header Navigation -->
</header>

<script>
    //alert(document.cookie.split("=")[1])
    var bds_username = Cookies.get('zs_username');
    $("#username").text(zs_username);
    

</script>